package com.kk.permission.handler;


import com.kk.permission.handler.interfaces.IPermissionRouterHandler;

public class PermissionRouteHandler implements IPermissionRouterHandler {
    private static final String TAG = "PermissionRoute";
    private static volatile PermissionRouteHandler sInstance;
    private boolean mRealStartPermission;

    private PermissionRouteHandler() {
    }

    public static IPermissionRouterHandler getInstance() {
        if (sInstance == null) {
            synchronized (PermissionRouteHandler.class) {
                if (sInstance == null) {
                    sInstance = new PermissionRouteHandler();
                }
            }
        }
        return sInstance;
    }

    public void setRealStartPermission(boolean z) {
        this.mRealStartPermission = z;
    }

    public boolean isRealStartPermission() {
        return this.mRealStartPermission;
    }

    public void reset() {
        this.mRealStartPermission = false;
    }
}
